<?php
    require_once(
        __DIR__.
        DIRECTORY_SEPARATOR.
        "inc".
        DIRECTORY_SEPARATOR.
        "incFunctions.php"
    );
    
    session_regenerate_id();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <link href="3party/JS/bootstrap-3.3.1/css/bootstrap.template.min.css" rel="stylesheet" type="text/css" />
        <link href="3party/JS/bootstrap-datetimepicker-2.3.1/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="css/cssStyle.css" rel="stylesheet" type="text/css" />
        
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        
        <script src="3party/JS/jquery-2.1.1/jquery-2.1.1.min.js" type="text/javascript"></script>
        <script src="3party/JS/bootstrap-3.3.1/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="3party/JS/bootstrap-datetimepicker-2.3.1/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
        <script src="3party/JS/SharedPHP-0.10.003/formTools/jsFormTools.js" type="text/javascript"></script>
        <script src="3party/JS/SharedPHP-0.10.003/unitConverter/jsUnitConverter.js" type="text/javascript"></script>
        <script src="3party/JS/Chart.js-1.0.1-beta.4/Chart.min.js" type="text/javascript"></script>
        <script src="js/jsFunctions.js" type="text/javascript"></script>
        
        <title>GymDB</title>
    </head>
    <body>
        <div class="container" id="div-mainview"></div>
        
        <div class="modal" id="div-loader">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <h4 class="modal-title">Processing...</h4>
                    </div>
                    <div class="modal-body">
                        <img src="img/ajax-loader.gif" />
                    </div>
                </div>
            </div>
        </div>
        
        <div class="modal" id="div-dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
                            <span aria-hidden="true">&times;</span>
                            <span class="sr-only">Close</span>
                        </button>
                        <h4 class="modal-title"></h4>
                    </div>
                    <div class="modal-body"></div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">
                            Close
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="modal" id="div-confirm">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
                            <span aria-hidden="true">&times;</span>
                            <span class="sr-only">Cancel</span>
                        </button>
                        <h4 class="modal-title"></h4>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">
                            Cancel
                        </button>
                        <button type="button" class="btn btn-primary" id="div-confirm-button-confirm">
                            Confirm
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="modal" id="div-prompt">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
                            <span aria-hidden="true">&times;</span>
                            <span class="sr-only">Cancel</span>
                        </button>
                        <h4 class="modal-title"></h4>
                    </div>
                    <div class="modal-body">
                        <input class="form-control" id="div-prompt-input-text" type="text" />
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">
                            Cancel
                        </button>
                        <button type="button" class="btn btn-primary" id="div-prompt-button-confirm">
                            Confirm
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>